//
//  NSData+Expand.h
//  KEREN
//
//  Created by chenliang on 2023/8/9.
//

#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonCrypto.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSData (Expand)

-(int)ToInt;

-(short)toShort;

-(short)ToByteShort;

-(NSString *)toHexString;

-(NSData *)aes128CBC:(NSString *)key iv:(NSString *)iv mode:(CCOperation)operation;

@end

NS_ASSUME_NONNULL_END
